﻿using System.Runtime.Serialization;


namespace Sinacor.Servico.Bovespa.Custodia.Service.DataContract.Response
{
    /// <summary>
    /// Atributo DataContract
    /// -----------------------------------------------------------------------------------
    ///  Autor              | Data          | Alteração
    /// -----------------------------------------------------------------------------------
    ///  Márcio Belarmino   | 07.08.2008    | Ajuste para Infra 2.0
    /// -----------------------------------------------------------------------------------
    /// </summary>
    [DataContract(Namespace = "http://www.bovespa.com.br/Sinacor.Servico.Bovespa.Custodia.Service.DataContract.Response", Name = "CustodiaResponse")]
    public partial class CustodiaResponse
    {
        private System.String TituloField;

        [DataMember(IsRequired = false, Order = 0)]
        public System.String Titulo
        {
            get { return TituloField; }
            set { TituloField = value; }
        }

        private System.Int32 CarteiraField;

        [DataMember(IsRequired = false, Order = 1)]
        public System.Int32 Carteira
        {
            get { return CarteiraField; }
            set { CarteiraField = value; }
        }

        private System.Decimal DisponivelField;

        [DataMember(IsRequired = false, Order = 2)]
        public System.Decimal Disponivel
        {
            get { return DisponivelField; }
            set { DisponivelField = value; }
        }

        private System.Decimal NegociavelField;

        [DataMember(IsRequired = false, Order = 3)]
        public System.Decimal Negociavel
        {
            get { return NegociavelField; }
            set { NegociavelField = value; }
        }

        private System.Decimal ProjetadoField;

        [DataMember(IsRequired = false, Order = 4)]
        public System.Decimal Projetado
        {
            get { return ProjetadoField; }
            set { ProjetadoField = value; }
        }

        private System.Decimal NegociosDiaField;

        [DataMember(IsRequired = false, Order = 5)]
        public System.Decimal NegociosDia
        {
            get { return NegociosDiaField; }
            set { NegociosDiaField = value; }
        }

        private System.Decimal NegExecutarField;

        [DataMember(IsRequired = false, Order = 6)]
        public System.Decimal NegocioExecutar
        {
            get { return NegExecutarField; }
            set { NegExecutarField = value; }
        }

        private System.Decimal Ant102004Field;

        [DataMember(IsRequired = false, Order = 7)]
        public System.Decimal Anterior102004
        {
            get { return Ant102004Field; }
            set { Ant102004Field = value; }
        }

        private System.Decimal CustoField;

        [DataMember(IsRequired = false, Order = 8)]
        public System.Decimal Custo
        {
            get { return CustoField; }
            set { CustoField = value; }
        }

        private System.Decimal ValorAtualField;

        [DataMember(IsRequired = false, Order = 9)]
        public System.Decimal ValorAtual
        {
            get { return ValorAtualField; }
            set { ValorAtualField = value; }
        }

        private System.Decimal VariacaoField;

        [DataMember(IsRequired = false, Order = 10)]
        public System.Decimal Variacao
        {
            get { return VariacaoField; }
            set { VariacaoField = value; }
        }

        /// <summary>
        /// Data: 12/12/2007
        /// Autor: Ludmilla Modesto
        /// Historico: Criado - Define se a conta é do Tipo Investimento
        /// </summary>
        private System.Boolean isContaInvestimentoField;

        [DataMember(IsRequired = false, Order = 11)]
        public System.Boolean isContaInvestimento
        {
            get { return isContaInvestimentoField; }
            set { isContaInvestimentoField = value; }
        }

        /// <summary>
        /// Data: 30/12/2008
        /// Historico: Adicionado para atender a conformidade  da característica de legenda da tela
        /// Autor: Apsilva
        /// </summary>
        private System.String posicaoCustodiaField;
        [DataMember(IsRequired = false, Order = 12)]
        public System.String PosicaoCustodia
        {
            get { return posicaoCustodiaField; }
            set { posicaoCustodiaField = value; }
        } 


    }
}
